package com.zkthink.clh.order.dto;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.zkthink.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 功能价格设置表
 * </p>
 *
 * @author chenke
 * @since 2022-04-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ConfigUpdateDTO", description = "功能价格设置表")
public class ChlConfigUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "id不能为空", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 功能区类型
     */
    @ApiModelProperty(value = "功能区类型")
    private Integer functionType;
    /**
     * 功能区内容
     */
    @ApiModelProperty(value = "功能区内容")
    @Length(max = 65535, message = "功能区内容长度不能超过65,535")
    private String functionText;
}
